﻿using DMSkin.Core.MVVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace CloudMusic.Model
{
    /// <summary>
    /// 歌手
    /// </summary>
    public class SingerListModel
    {
        /// <summary>
        /// 
        /// </summary>
        public long img1v1Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int topicPerson { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> @alias { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long picId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trans { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int albumSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string img1v1Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool followed { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string briefDesc { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int musicSize { get; set; }
        /// <summary>
        /// 薛之谦
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long accountId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string picId_str { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string img1v1Id_str { get; set; }
    }

    public class SingerListModelRoot
    {
        /// <summary>
        /// 
        /// </summary>
        public List<SingerListModel> artists { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool more { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
    }

    public class singerMode: ViewModelBase
    {
        private string _coverImgUrl;
        private string _name;
        private long _id;
        private long _accountId;
        private bool _accountVis;
        public long id
        {
            get { return _id; }
            set { _id = value; OnPropertyChanged("id"); }
        }
        public string coverImgUrl
        {
            get { return _coverImgUrl; }
            set { _coverImgUrl = value; OnPropertyChanged("coverImgUrl"); }
        }
 
        public string name
        {
            get { return _name; }
            set { _name = value; OnPropertyChanged("name"); }
        }
        public long accountId
        {
            get { return _accountId; }
            set { _accountId = value; OnPropertyChanged("accountId"); }
        }
        public bool accountVis
        {
            get { return _accountVis; }
            set { _accountVis = value; OnPropertyChanged("accountVis"); }
        }
    }
    

    public class  singerData
    {
        public Visibility accountIdVis { get; set; }
        public singerMode singerdata { get; set; }

    }
}
